<div id="margin"></div>
<?php foreach($blogs as $blog):?>
<div class = "post">
	<div class="showtitle">
		<?php echo $html->link( $blog['Blog']['title'], array('action'=>'view', $blog['Blog']['id']));?>
		&nbsp;&nbsp;<a class="underline" href='javascript:void(0)'>展开</a>
	</div>
	<div>
		<div class="left">
			<span class="leftitm">作者: <?php echo $blog['Blog']['uid'];?></span>
			<span class="leftitm">时间: <?php echo $blog['Blog']['dateline'];?></span>
			<span class="leftitm">访问数量: <?php echo $blog['Blog']['views'];?></span>
		</div>
	</div>
	<div class="showtext"><?php echo $blog['Blog']['content'];?></div>
	<div class = "postInf">
		<span>标签：
			<?php $tags = split(" ",$blog['Blog']['keywords']);?>
			<?php foreach($tags as $tag):?>
			<?php echo $tag;?>&nbsp;&nbsp;
			<?php endforeach;?>
		</span>
	</div>
	<div class="commentdiv">
		<?php echo $this->Form->create('Comment');?>
		<?php echo $this->Form->input("content",array('label'=>false,'id'=>'commenttextarea'));?> 
	</div>
</div>
<?php endforeach; ?>
